#ifndef RESHANDLER_H
#define RESHANDLER_H

#include <QObject>

#include "protocol.h"

class ResHandler : public QObject
{
    Q_OBJECT
public:
    explicit ResHandler(QObject *parent = nullptr);
    ~ResHandler();

    PDU* pdu;
    void regist();
    void login();
    void findUser();
    void onlineUser(QString loginName);
    void addFriend();
    void addFriendRequest();
    void addFriendAgree();
    void flushFriend();
    void delFriend();
    void chatRequest();
    void mkDir();

signals:

};

#endif // RESHANDLER_H
